package com.logic.modular.gameCore;

import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;

/**
 * 基础数据缓存
 */
public class CoreCacheInfo {
    public static final Cache<String, Object> infoCache = Caffeine.newBuilder().build();

    /**
     * 清除配置信息缓存
     */
    public static void clear() {
        infoCache.invalidateAll();
    }
}
